package com.qf.listener.direct;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author YDW
 * projectName:project2202_4
 * time:2022/6/11 10:18
 * description:
 */
@Component
public class DirectListener2 {
    @RabbitListener(queues = "you_queue")
    public void consum(String msg){
        System.out.println("路由模式2+++"+msg);
    }
}
